CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

INCLUDE_DIRECTORIES(../include ${Boost_INCLUDE_DIR} /usr/include/eigen2)

ADD_LIBRARY(Portal SHARED 
                          DoomIIIMap.cc
			  Polygon3D.cc
			  Brush.cc)
IF(UNIX)
  SET_TARGET_PROPERTIES(Portal PROPERTIES 
    COMPILE_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden -Wall")
ENDIF(UNIX)
